use "UT08g_ResultsCrossTabs.dta", clear*this combines the two questions and eliminates those that did not answer eitheregen president = rowtotal(d_pres08 pres08), missingtab president if president!=4egen governor = rowtotal(d_gov gov08), missingtab governor if governor!=4egen ushouse = rowtotal(d_rep rep), missingtab ushousetab ushouse if usdist1==1tab ushouse if usdist2==1tab ushouse if usdist3==1egen attorney = rowtotal(d_atgen atgen08), missingtab attorney if attorney!=4egen statehouse = rowtotal (d_uthousea uthousea)recode statehouse (0=.)tab statehouseegen statesen = rowtotal (d_utsena utsena)recode statesen (0=.)tab statesen
